Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.localconf.theme--layouts

This contribution is part of XML component org.nuxeo.ecm.localconf.theme inside nuxeo-localconf-web-6.0.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="theme_configuration">
          <templates>
            <template mode="any">
              /layouts/layout_local_configuration_template.xhtml
            </template>
          </templates>
          <properties mode="any">
            <property name="layoutTemplateToInclude">
              /layouts/layout_default_template.xhtml
            </property>
            <property name="foldableBoxLabel">
              label.local.configuration.theme
            </property>
            <property name="localConfigurationFacet">
              ThemeLocalConfiguration
            </property>
            <property name="helpLabel">
              label.local.configuration.theme.info
            </property>
            <property name="elementsToReRender">
              local_configuration_panel
            </property>
          </properties>
          <rows>
            <row>
              <widget>flavor_selection</widget>
            </row>
          </rows>
          <widget name="flavor_selection" type="template">
            <labels>
              <label mode="any">
                label.local.configuration.theme.flavorSelection
              </label>
            </labels>
            <helpLabels>
              <label mode="any">
                label.local.configuration.theme.flavorSelection.help
              </label>
            </helpLabels>
            <translated>true</translated>
            <fields>
              <field>themeconf:flavor</field>
            </fields>
            <properties mode="any">
              <property name="template">
                /widgets/select_flavor_widget_template.xhtml
              </property>
            </properties>
          </widget>
        </layout>
  • <layout name="old_theme_configuration">
          <templates>
            <template mode="any">
              /layouts/layout_local_configuration_template.xhtml
            </template>
          </templates>
          <properties mode="any">
            <property name="layoutTemplateToInclude">
              /layouts/layout_default_template.xhtml
            </property>
            <property name="foldableBoxLabel">
              label.local.configuration.theme
            </property>
            <property name="localConfigurationFacet">
              ThemeLocalConfiguration
            </property>
            <property name="helpLabel">
              label.local.configuration.theme.info
            </property>
          </properties>
          <rows>
            <row>
              <widget>theme_selection</widget>
            </row>
          </rows>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="theme_configuration">
      <templates>
        <template mode="any">
          /layouts/layout_local_configuration_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="layoutTemplateToInclude">
          /layouts/layout_default_template.xhtml
        </property>
        <property name="foldableBoxLabel">
          label.local.configuration.theme
        </property>
        <property name="localConfigurationFacet">
          ThemeLocalConfiguration
        </property>
        <property name="helpLabel">
          label.local.configuration.theme.info
        </property>
        <property name="elementsToReRender">
          local_configuration_panel
        </property>
      </properties>
      <rows>
        <row>
          <widget>flavor_selection</widget>
        </row>
      </rows>
      <widget name="flavor_selection" type="template">
        <labels>
          <label mode="any">
            label.local.configuration.theme.flavorSelection
          </label>
        </labels>
        <helpLabels>
          <label mode="any">
            label.local.configuration.theme.flavorSelection.help
          </label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>themeconf:flavor</field>
        </fields>
        <properties mode="any">
          <property name="template">
            /widgets/select_flavor_widget_template.xhtml
          </property>
        </properties>
      </widget>
    </layout>

    <!-- deprecated since 5.5: use flavor selection instead -->
    <layout name="old_theme_configuration">
      <templates>
        <template mode="any">
          /layouts/layout_local_configuration_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="layoutTemplateToInclude">
          /layouts/layout_default_template.xhtml
        </property>
        <property name="foldableBoxLabel">
          label.local.configuration.theme
        </property>
        <property name="localConfigurationFacet">
          ThemeLocalConfiguration
        </property>
        <property name="helpLabel">
          label.local.configuration.theme.info
        </property>
      </properties>
      <rows>
        <row>
          <widget>theme_selection</widget>
        </row>
      </rows>
    </layout>

  </extension>